Part 1: EDA
YVR
## [1] "../drought_code_yvr/data/YVR_maxtemp_avgexc_bymonth.csv"
## [1] "../drought_code_yvr/data/YVR_maxtemp_exc_over90th.csv"
plot nexc with year-month
Plot avg exc
Kelowna
plot nexc with year-month
Plot avg exc
Prince George
plot nexc with year-month
Plot avg exc
FortNelson
plot nexc with year-month
Plot avg exc
Abbotsford
plot nexc with year-month
Plot avg exc
Part 2: Correlation
scatter plot with top20 colored
Part 3: Ranking
avgexc
combine all station avgexc data
avgexc total year all stations scatter
## # A tibble: 30 × 10
## begin end starttemp endtemp avgexc year month station rank yrmon
## <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <chr> <dbl> <date>
## 1 2014-01-… 2014… -1.6 14.9 11.6 2014 1 FortNe… 1 2014-01-01
## 2 2003-01-… 2003… 6.5 1.6 10.3 2003 1 FortNe… 2 2003-01-01
## 3 1943-12-… 1943… 7.2 2.8 9.69 1943 12 FortNe… 3 1943-12-01
## 4 2006-12-… 2006… 0.3 4.3 9.60 2006 12 FortNe… 4 2006-12-01
## 5 1979-11-… 1979… 11.5 6.4 9.41 1979 11 FortNe… 5 1979-11-01
## 6 2021-06-… 2021… 27.9 32.1 9.17 2021 6 Abbots… 1 2021-06-01
## 7 2024-01-… 2024… 14.3 -1 8.74 2024 1 FortNe… 6 2024-01-01
## 8 1943-11-… 1943… 7.8 2.8 8.73 1943 11 FortNe… 7 1943-11-01
## 9 1986-12-… 1986… 4.8 -1.3 8.59 1986 12 FortNe… 8 1986-12-01
## 10 1997-12-… 1997… 4.4 -0.75 8.42 1997 12 FortNe… 9 1997-12-01
## # ℹ 20 more rows


avgexc SUMMER all stations scatter
avgexc for specific year
1941
2021
max_consec
Rank the stations based on the number of dry days